﻿using Entity.Models.BaseEntitys;
using RepositorySys.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

#nullable disable

namespace Entity.Models.Entities
{
    /// <summary>
    /// 用户实体类
    /// </summary>
    public partial class UserInfo: BaseEntityTime
    {

        /// <summary>
        /// 账号
        /// </summary>
        [Column(TypeName = "varchar(16)")]
        public string Account { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        [Column(TypeName = "varchar(16)")]
        public string UserName { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        [Column(TypeName = "varchar(16)")]
        public string PhoneNum { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        [Column(TypeName = "varchar(32)")]
        public string Email { get; set; }

        /// <summary>
        /// 部门id
        /// </summary>
        [Column(TypeName = "varchar(36)")]
        public string DepartmentId { get; set; }

        /// <summary>
        /// 性别 
        /// </summary>
        public int? Sex { get; set; }


        /// <summary>
        /// 密码
        /// </summary>
        [Column(TypeName = "varchar(32)")]
        public string PassWord { get; set; }

        /// <summary>
        /// 是否管理
        /// </summary>
        public bool? IsAdmin { get; set; }



       
    }
}
